package tool.zyk.provider;

import tool.zyk.dto.UserInfo;
import tool.zyk.service.UserService;
import tool.zyk.spring.annotation.RpcProvider;

/**
 * @author feite.zyk
 * @time 2024/2/2 14:01
 * @description
 */
@RpcProvider
public class UserServiceProvider implements UserService {
    @Override
    public UserInfo getUserInfo(Long id) {
        UserInfo userInfo = new UserInfo();
        userInfo.setId(id);
        userInfo.setAge(24);
        userInfo.setName("张永康");
        return userInfo;
    }
}
